<?php
namespace core;
use core\Util;
class Response{
	function redirect($url){
		if(!Util::startWith($url,'http')){
			header("location:".CONTEXT_PATH.$url);
		}else{
			header("location:".$url);
		}
	}
}